'use strict'

let Koa = require('koa');
let bodyParser = require('koa-bodyparser');


let app = new Koa();

app.use(bodyParser());

let controller = require('./controllers')

app.use(controller());


let port = 8888;
app.listen(port)

console.log(`Server is running at http://localhost:${port}`);